import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class CreateGeographDto {
  @IsNotEmpty()
  @ApiProperty({
    description: '用于查询该省份下有哪些服务',
    example: '四川',
  })
  province: string;

  @ApiProperty({
    description: '用于查询该城市下有哪些服务',
    example: '成都',
  })
  city: string;

  //   service: Service[];
}
